package backend.service.admin;

import backend.model.admin.Team;
import backend.service.base.DBModelService;

import java.util.List;

public interface TeamService extends DBModelService<Team> {

    List<Team> findAllTeams();

    List<Team> findAllActiveTeams();

    List<Team> findAllActiveTeamsOfForeman(int foremanId);

    List<Team> findAllTeamsOfForeman(int foremanId);

    Team findTeamByName(String name);

    Team findDefaultTeam();
}
